/**
 * Created by Administrator on 2018/11/7 0007.
 */
import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import actions from './actions'
import mutations from './mutations'
Vue.use(Vuex);

/*导出数据仓库*/
export default new Vuex.Store({
  state,
  getters:{
    getTagsList(){
      state.tagsList.map(item => item.name)
    }
  },
  actions,
  mutations
})
